From: Robert Ancell Date: Sun, 12 Jan 2020 23:17:55 +0000 (+1300) Subject: menutoolbutton: Add missing public API documentation. X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1~1^2~321^2^2~349^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3eaf88b84cf7245580b95ad9adb4b37b79026a6d;p=gtk4.git menutoolbutton: Add missing public API documentation. This API was added in 03e30431a8a --- diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c index d49e036734..0a9e0e7c67 100644 --- a/gtk/gtkmenutoolbutton.c +++ b/gtk/gtkmenutoolbutton.c @@ -377,6 +377,16 @@ gtk_menu_tool_button_set_popover (GtkMenuToolButton *button, g_object_notify (G_OBJECT (button), "popover"); } +/** + * gtk_menu_tool_button_get_popover: + * @menu_button: a #GtkMenuToolButton + * + * Returns the #GtkPopover that pops out of the button. + * If the button is not using a #GtkPopover, this function + * returns %NULL. + * + * Returns: (nullable) (transfer none): a #GtkPopover or %NULL + **/ GtkWidget * gtk_menu_tool_button_get_popover (GtkMenuToolButton *button) {